The Compass Tool is an ActiveX control. As such, a Compass Tool object has an ActiveX page on the Property Sheet. Many of these properties are the object’s formatting properties. Values for the ActiveX Properties can be set directly on the ActiveX page or in the OCX Properties dialog box, which is accessed by clicking the (OCXProperties) property.
| Property | Description | Related Properties |
|---|---|---|
|
Specifies whether the object controls its update rate. Default is 0 - No. When set to 1 - Yes, the object is repainted at the rate specified by the UpdateFrameRate property. |
||
|
Specifies the color of the object background. Default is gray (RGB 236.233.216). The background color is not shown if the Transparent property is set to 1 - Yes. |
||
|
Specifies the border style of the object. Default is 0 - ibsNone. Other options are 1 - ibsRaised and 2 - ibsLowered. |
||
|
Enables optimizing the display of the compass. Default is 1 - Yes. |
||
|
Specifies the default direction of the pointer in relation to 360 degrees. Default is 0. If the object is associated with a point, the point’s value sets the direction. |
||
|
Specifies the directional display font. Default is MS Sans Serif (10 point bold). |
||
|
Specifies the directional display font color. This value is shown numerically in the center of the compass. Default is black (RGB 0.0.0). |
||
|
Specifies the precision of the Direction value. Default is 1. |
||
|
Specifies the caption for 90 degrees. Default is E. |
||
|
Enables user interaction with the object. If set to 0 - No, the object is still shown but its context menu is disabled. Default is 1 - Yes. |
||
|
Specifies the height (in pixels) of the object. |
||
|
Specifies the caption for 0 (360) degrees. Default is N. |
||
|
Specifies the caption for 45 degrees. Default is NE. |
||
|
Specifies the caption for 315 degrees. Default is NW. |
||
|
Enables the SaveAllPropertiesToFile method to save just the ActiveX Properties or all object properties. Default is 0 - No, which means that only ActiveX Properties are saved. |
||
|
Specifies the width (in pixels) for the compass bevel. Default is 5. |
||
|
Specifies the margin (in pixels) of the margin between the pointer and object boundary. Default is 5. |
||
|
Specifies the color of the directional pointer. Default is yellow (RGB 255.255.0). |
||
|
Specifies the width (in pixels) of the margin between the center and the compass edge. Default is 1. |
||
|
Specifies the size (in pixels) of the pointer size. Default is 12. |
||
|
Specifies the style of the pointer. Default is 0 - icpsTriangle. Other options are 1 - icpsCircle and 2 - icpsLine. |
||
|
Specifies the background color of the compass face. Default is blue (RGB 0.0.128). |
[AlarmElement] | |
|
Specifies the caption for 180 degrees. Default is S. |
||
|
Specifies the caption for 135 degrees. Default is SE. |
||
|
Enables display of the directional value in the center of the compass. Default is 1 - Yes. |
||
|
Specifies the caption for 225 degrees. Default is SW. |
||
|
Specifies the color of the tick marks on the compass face. Default is cyan (RGB 0.255.255). |
||
|
Specifies the directional display font. Default is MS Sans Serif (8 point bold). |
||
|
Specifies the directional display font. Default is white (RGB 255.255.255). |
||
|
Specifies the margin (in pixels) the space between the tick marks and the dial labels. Default is 10. A smaller margin results in a larger centerpiece and vice-versa. |
||
|
Specifies the margin (in pixels) the space between the tick marks and the outer edge of the compass face. Default is 8. A smaller margin results in a larger centerpiece and vice-versa. |
||
|
Specifies the length (in pixels) of the tick marks. Default is 6. |
||
|
Specifies the size of the margin (in pixels) between the tip of the pointer and the tick marks. Default is 0. |
||
|
Determines the width (in pixels) of the tick marks. Default is 1 |
||
|
Enables transparency of the object background. Default is 0 - No. |
||
|
Specifies the rate (in seconds) of repainting the object. Default is 60. Applicable only when AutoFrameRate is set to 1 - Yes. |
||
|
Enables the visibility of the object on TheView. Default is 1 - Yes. |
||
|
Specifies the caption for 90 degrees. Default is W. |
||
|
Specifies the width (in pixels) of the object. |